import serviceAxios from "../request/index";


export const audioConvert = (params) => {
    return serviceAxios({
        url: "/api/convert",
        method: "post",
        data: {
            ...params
        },
        headers: {
            "Content-Type": "application/json",
        },
    });
};
export const audioDownFile = (params) => {
    return serviceAxios({
        url: "/api/downFile",
        method: "post",
        data: {
            ...params
        },
        headers: {
            "Content-Type": "application/json",
        },
        responseType: "blob",
    });
};

export const audioDownFile1 = (params) => {
    return serviceAxios({
        url: "/api/downFile",
        method: "post",
        data: {
            ...params
        },
        headers: {
            "Content-Type": "application/json",
        },
        responseType: "blob",
    });
};
